* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    height: 100vh;
}

.page-bg {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.login-card {
    width: 1100px;
    height: 620px;
    background: #fff;
    border-radius: 28px;
    display: flex;
    overflow: hidden;
    border: 2px solid black;
}

.login-left {
    width: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand img {
    max-width: 150px; 
    height: auto;     
    display: block;   
    margin-bottom: 20px;
}

.brand {
    display: flex;
    justify-content: flex-start; 
    width: 100%;
}
.login-left h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 30px;
}


label {
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
    color: #444;
}

input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 30px;
    border: none;
    background: #f4f4f4;
    margin-bottom: 18px;
    outline: none;
}

.password-box {
    position: relative;
}

.password-box span {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 30px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 6px;
}

.row a {
    text-decoration: none;
    color: #8a6b52;
}

.login-btn {
    padding: 16px;
    border-radius: 30px;
    background: #00ABEA;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    width: 97%;
}

.login-right {
    width: 50%;
    /*background: #30354c;*/
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-right img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.switch {
    margin-top: 16px;
    font-size: 14px;
    text-align: center;
}

.switch a {
    color: #919cd5;
    text-decoration: none;
    font-weight: 500;
}
@media (max-width: 900px) {
    .login-card {
        flex-direction: column;
        height: auto;
        width: 95%;
    }

    .login-left,
    .login-right {
        width: 100%;
    }

    .login-right {
        padding: 40px;
    }
}

.login-container {
  max-width: 300px;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

/* .input-field {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
} */


.helper-text {
  display: flex;
  justify-content: flex-end; 
  margin-top: 8px;
}

/* .forgot-link {
  color: #4a90e2; 
  text-decoration: none;
  font-size: 14px;
}

.forgot-link:hover {
  text-decoration: underline;
} */

.modal-overlay {
  display: none; 
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 15px; 
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  font-family: sans-serif;
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

h2 { 
    margin: 0 0 10px 0; 
    font-size: 20px; }
p { 
    color: #555; 
    font-size: 14px; 
    margin-bottom: 20px; }

.modal-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-sizing: border-box;
}

.reset-button {
  width: 100%;
  padding: 12px;
  background-color: #555e7e;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.reset-button:hover { background-color: #555e7e; }


@media(min-width:480px){
    .login-right{
        display: block;
    }
}
/* Hide right image from 480px to 899px */
@media (max-width: 899px) {
    .login-right {
        display: none;
    }

    .login-left {
        width: 100%;
    }
}
/* =========================================
   900px – 1130px layout (same side spacing)
========================================= */
@media (min-width: 900px) and (max-width: 1130px) {

    .login-card {
        width: 95%;
        height: auto;
        padding: 0;
    }

    .login-left,
    .login-right {
        width: 50%;
        padding: 40px;
    }

    .login-right img {
        max-width: 80%;
    }
}